#include "Point.h"


Point::Point(){
	x =0;
	y =0;
	}

Point::Point(int x, int y){
	this->x = x;
	this->y = y;
	}

int Point::getX(){
	return x;
	}

int Point::getY(){
	return y;
	}

void Point::setX(int x){
	this->x = x;
	}

void Point::setY(int y){
	this->y = y;
	}

bool Point::equals(Point* other){
	if (this->getX() == other->getX() && this->getY() == other->getY())
		return true;
	else
		return false;
	}

bool Point::equals(int x, int y){
	if (this->getX() == x && this->getY() == y)
		return true;
	else
		return false;

	}